package arrayGenerator

// GenerateOrderedArray 生成有序数组
func GenerateOrderedArray(n int) []int {
	arr := make([]int, n)
	for index := 0; index < n; index++ {
		arr[index] = index
	}
	return arr
}
